//
//  Teacher.m
//  09-HomeWork
//
//  Created by dllo on 16/7/13.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "Teacher.h"

@implementation Teacher
- (void)addStudents:(id)student {
    if ([student class] == [Student class]) {
    [self.students addObject:student];
    }
   
}
- (void)removeStudents:(id)student {
    if ([student class] == [Student class]) {
    [self.students removeObject:student];
    }
   
}
- (NSString *)description {
   return [NSString stringWithFormat:@"%@", self.students];
}
- (NSArray *)returnArray {
    return [NSMutableArray array];
}
@end
